@echo off & setlocal enabledelayedexpansion

reg add HKEY_CURRENT_USER\Console /v QuickEdit /t REG_DWORD /d 00000000 /f
title eterm_printv

set DIR_BIN=%~dp0
echo BIN_DIR=%DIR_BIN%
cd %DIR_BIN%

set APP_NAME=code_gen.exe

set GOTRACEBACK=crash
set GIN_MODE=release

%DIR_BIN%\%APP_NAME% -d=false
